package com.zl.test.restdemo.mapper;

import com.zl.test.restdemo.entity.MiddleClass;
import com.zl.test.restdemo.entity.MiddleClassExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MiddleClassMapper {
    int countByExample(MiddleClassExample example);

    int deleteByExample(MiddleClassExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MiddleClass record);

    int insertSelective(MiddleClass record);

    List<MiddleClass> selectByExample(MiddleClassExample example);

    MiddleClass selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MiddleClass record, @Param("example") MiddleClassExample example);

    int updateByExample(@Param("record") MiddleClass record, @Param("example") MiddleClassExample example);

    int updateByPrimaryKeySelective(MiddleClass record);

    int updateByPrimaryKey(MiddleClass record);
}